<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      /* 
            在js中，使用const声明常量，常量只能赋值一次，重复赋值会报错

        */
      const PI = 3.14;

      console.log(PI);
    </script>
  </body>
</html>
